package ace.module.product.api.model.input;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 商品sku属性值.
 * @author Caspar
 *
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class PmsProductSkuAttributeSaveInput {


  @NotEmpty
  @Size(max = 255)
  @Schema(title = "规格属性",description = "")
  private String name;

  @NotEmpty
  @Size(max = 255)
  @Schema(title = "规格属性值",description = "")
  private String value;
}
